﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LiteFramework.Contract
{
    public interface IAdditionalAuthentication
    {
        bool Authenticate(string pin, object state);
    }

    public sealed class DefaultAdditionalAuthentication : IAdditionalAuthentication
    {
        public bool Authenticate(string pin, object state)
        {
            return String.IsNullOrEmpty(pin);
        }
    }
}